Removed unnecessary sockets code and module