<p>
Parses the header bytes in the given {@code buffer}; only the header
bytes are consumed, therefore when this method returns, the buffer may
contain unconsumed bytes.
</p>
@param buffer
the buffer to parse
@return true if the whole header bytes were parsed, false if not enough
header bytes were present in the buffer
<p> Parses the header bytes in the given {@code buffer}; only the header bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes. </p>
@param buffer the buffer to parse @return true if the whole header bytes were parsed, false if not enough header bytes were present in the buffer