new TNiftyTransport(channel, buffer, ThriftTransportType.UNFRAMED);
TProtocol inputProtocol =
inputProtocolFactory.getProtocol(decodeAttemptTransport);
// Skip through the message
inputProtocol.readMessageBegin();
TProtocolUtil.skip(inputProtocol, TType.STRUCT);
inputProtocol.readMessageEnd();
messageLength = buffer.readerIndex() - messageStartReaderIndex;
} catch (IndexOutOfBoundsException e) {