Switch over to pycurl for header information

This requires a bit more work, but gets us support for
more formats (http://username:password@url), and keeps us
using a single library for this

Signed-off-by: Chris Lalancette <clalancette@gmail.com>