added HTTPClient class including documentation and tests; doGet, doPost and doPut now use HTTPClient; implemented issue #6