Added print before sending handshake