Simple callback-based HTTP request/response parser