Add handshake upstream hook