add X-Proto header for SSL connections
Merge branch 'hotfix-x-proto-ssl'