Encapsulation for msg header and OP_QUERY msg.