basic read HTTP request line-by-line