Capture user-agent string in Request, clean up some missing catch blocks
Store args in static string