Modified Some bugs in protocol
add getHeader and setHeader