added Chunked Transfer-Encoding support to curlSend() method

added the ability to provide an hook function to the curlSend() method, so every time a chunk response is received, the hook function is called