It would be nicer to pass `d` into `handle_raw_inbound_request`, I think. Then the transport can manage `_request_deferreds` itself. Similarly there is no need to call `set_request` here since we already pass that to `handle_raw_inbound_request`.