Moved HTTP specific code in base to the http subpackage.