move socket.js client file to client/lib instead of the root directory