Fixes a bug with tls.connect().
Adds basic CN verification for TLS.
Merge branch 'master' of github.com:emersion/node-client-vm