When the hostname is an IPv6 literal, encapsulate it
with [brackets] before calling Net::HTTP  [rt.cpan.org #29468]
Extra steps to make sure that the host address
that has a ":" contains only characters appropriate
for an IPv6 address.
Merge pull request #58 from jfesler/master

When the hostname is an IPv6 literal, encapsulate it