Write ZappHeader to given ByteBuffer and return it. The given ByteBuffer MUST be encoded as ZAPP Header.