Merge pull request #6 from catinred2/tlsconfig

fix tls handshake error