Strip brackets from address in IPv6 URIs

IPv6 URIs contain brackets (i.e. http://[fd00::1]) which need to be removed before passing the address along to Net::HTTP.  This fixes IPv6 support.