Write log entries with formatted date/time.  Lock when writing log.  Only print messages for URLErrors.  Print duration for service errors.  Add default User-Agent header for service request.