Use urllib2 to support http-proxy. I removed DOMAIN_OBSERVE because it's obsolute.