functioning http_client.request
added support for PUT content body and handle JSON error responses
completed event api functions