* trim newlines from user agent * fix indents * fix indents for real * actually fix indents (cherry picked from commit aab5f083dbae25380b97c7407309beb90a64d845)
* trim newlines from user agent * fix indents * fix indents for real * actually fix indents (cherry picked from commit aab5f083dbae25380b97c7407309beb90a64d845)