sendHandshake method
Send a handshake message
Implementation
@override
void sendHandshake() {
List<int> msg = [handshakePrefix];
if (_handshake) {
// if i got the handshake i add a 0x01 to inform the other peer
msg.add(handshakePrefix);
}
_sendMessage(msg);
}