Revert "Get the user_agent string"

This reverts commit 41944c5dd5c878746f4a7b65aadd6c3e71ed2723.