[client_socket] socket spec, test udp socket handler