get to the conn_rec (client or proxy) in client and server
extension callbacks

other minor improvements