sets connect.state to accepted and calls back with the accepted client