added AcceptorT::waitListening
fixed http_client_test, hanging under certain configurations