Updated the Sockets library with some minor changes.