feat: add user agent to API requests

This is just to have a common user agent in place and in the test; there are other parts of `Connection` that I'd like to fix, but I think we can do that while migrating to apitools.
Why the extra newline at the top?