fixed urllib2 error handling

can handle HTTP fails (internet) and invalid address string (config.ini)