added: support for x-forwarded-protocol