parsing req/res in log_http