Get wss: and ws: the right way round in the example.