Set "Common Name" in certificate to "syncthing".
Fix: certificate of peer is added to socket as a SecIdentity, not as a SecCertificate.
Fix: set delegate queue on socket.