refrain from setting port explicitly if X-Forwarded-Proto is present

fixes #84