Allow to modify handshake for jsr