Use a full URI for Origin and mix case WebSocket.

Small fixes that make this work with Golang's websockets implementation.

Mixed case WebSocket is actually a bug on their end, but this should be compatible with any WebSocket server.