Add a setHeader() function to allow peers to add headers to their handshake responses.