port manifest-fetching code to use requests instead of urllib2 (bug 941480)