Removing curl requirement for creating the user agent. Closes #556