Make use of ByteBufProcessor for extract initial line and headers

This gives some nice performance boost as readByte() is quite expensive because of the index / replay checks.