short authHeaderLength = buf.getShort();
byte[] undecodedAuthHeader = new byte[authHeaderLength];
buf.get( undecodedAuthHeader, 0, authHeaderLength );
ApplicationRequestDecoder decoder = new ApplicationRequestDecoder();
ApplicationRequest authHeader = decoder.decode( undecodedAuthHeader );
modifier.setAuthHeader( authHeader );
byte[] encodedPrivate = new byte[buf.remaining()];
buf.get( encodedPrivate, 0, buf.remaining() );