Pass peer name to socket implementation.

This way, IO::Socket::SSL gets a chance to verify the hostname.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738493 for
details.
Merge pull request #10 from hillu/master

Pass peer name to socket implementation.