support X-Forwarded-Proto

https://github.com/kraih/mojo/commit/c78ad57ceadea8cff6ed6028b4a528737833f150
fix test case for mojo 5.06

https://github.com/kraih/mojo/commit/c58082b2e4437c644966f9ebc8da682784a210d2