Correctly set wss: protocol for secure connections