Fix for unsecure socket.io connection