Started refactoring all the http requests to use generic_request functions.
Documented more of herp_cdn.