Finished new version of libsockets