Printing handshake in hex