Updated with better handling of whitespace at the start of matched lines
Merge branch 'master' of github.com:andystanton/reith-proxy-toggle