change http request read method, read in one read() call now