check 'x-forwarded-proto' for 'https' as well
lower case forwarded protocol before comparing to 'https'
Merge pull request #7 from ronco/master

check 'x-forwarded-proto' for 'https' as well