Fix urllib2 error handling
Merge pull request #53 from djosephsen/master

Fix urllib2 error handling
Make sinks/gmetric.py ip dual-stack capable.
Remove debug line.
Merge pull request #54 from ealekseev/gmetric

Gmetric. Add ipv6 support.