add fix for node 0.8 in tls-connect

as the title says :)