}
public NextAction handleRead(final FilterChainContext ctx) throws IOException {
// Get the source buffer from the context
final Buffer sourceBuffer = ctx.getMessage();
final int sourceBufferLength = sourceBuffer.remaining();
// If source buffer doesn't contain version byte
if (sourceBufferLength < 1) {
// stop the filterchain processing and store sourceBuffer to be
// used next time