Fixed socket.io SSL connection bug