fix remote node not being in the connected state when initialized with a connected socket
add magic bytes for comparison tool and update socket listen to use handshake method