Reverted changes to socket, added masquerade to server.rb