@Override
 public void onProtocolMessageBytesToSend(byte[] msgBytes, int offset, int length) {
   // Protocol has packaged bytes to send, pass to transport for transmission
   synchronized (TRANSPORT_REFERENCE_LOCK) {
     if (_transport != null) {
       _transport.sendBytes(msgBytes, offset, length);
     }
   }
 }