add HTTP request parsing