Changed WebSocket host to server default instead of generic host. Needed to work with proxy.