Added new function to split headers and return their values also added new method to return the headers as a string too (for debugging puposes mainly.)
Cleaned up method comments.
Added error checking so that if the remote server does not exists or does not repsonse the sendRequest() method now returns false to enable the developer to handle the error and display an error accordingly. I've also updated the public_ipaddress.php example to demonstrate how to check and handle this in the event that something doesn't work right.
Added new methods to add custom headers for a request and also to be able to set the request type eg. post(), get(), delete(), put() and patch().
Various updates including a couple more demonstration scripts talking to real-life RESTful web service's and also addied many more improvements into the HTTPClient class.
More work on the example scripts and also added new features to send a user-agent string with the request and also methods to enable developers to specifiy their own user-agent string.