Changed to use IOBuffer from HTTPClient