Fixed major sockets bug (that I introduced)