revert lib/src/socket.dart