Add two default ports, http/https

Add two default ports and pick depending on the WebSocket scheme.