websocketproxy: support X-Forwarded-For and X-Forwarded-Proto headers