rack environment should come from message headers (not type)
log an entry for every request