Create a HTTP request handler that responds with given status code, headers and body.