Speed boost for headers!

* Replaced headers loop
* Typo in Constants
* Added www-form-urlencoded content-type for PHP/HTML posting (the body looks like a GET string)
* instancetype!