fixed ssl websockets using wss instead of ws