Thanks to Sam Whited for the discussion about the underlying issue and incentivizing me to come up with this extension. Further thanks goes to Ruslan N. Marchenko for pointing out the possible - MITM attack vector. Last but not least, Dave Cridland provided - valuable feedback.
+ MITM attack vector. Last but not least, Dave Cridland and Thilo Molitor + provided valuable feedback.