Improvement that follows COMETD-453: in case the transport can't be
negotiated, log and throw an exception.