implemented vpn_ws_socket_nb