Fixed bugs related to renaming and OSX, updated socket.io module