Added namespacing and autoloader support

The HTTPBase class was interfering with another class in my app. So I added namespacing and PSR-0 support.