Fix proxy connections

The agent.py had problems with proxy connections. The requests module could not send data to the newrelic api. So I removed this module and added the urllib2.