move to tls 1.2 and connection 0.2
Merge pull request #4 from vincenthz/master

move to tls 1.2 and connection 0.2