backend/log: add detailed request logging

Every request is logged when the request is received and when the
response is sent. A uuid is generated and added to each request, and
will accompany any log line generated in the context of this request.