Log user-agent string, fixes #41.
Re-order items in request log entry for easier scanning.