- Make it really work with wss
- Fix the server port value for headers.via
- Fix some minor bugs with tcp, tls tranports