Fixes #733 - parse x-forwarded-proto more generally