set new content-type and protocol version headers for protocol version 3