[FOLD] clean up SocketWrapper