http request reader and parser