Should check for http/https protocol for interception

Also typo with regards to x-forwarded-for should be x-forwarded-proto