update for latest tls 1.2
properly bind together hostname and port.
remove unused test flag.
bump version to 0.2.0