No need to check for http/https protocol for interception since the function will always be ran inside http/https