Fixed socket.io stuff

Nevermind. The test will expect https for the API.