Initial import (from Go 1.2 crypto/tls package + psk support)