Don't test on v0.6, its tls.connect({socket}) doesn't seem to work.