update main entrypoint to use new http client

This merge completes the change necessary to the `pyfarm-agent` entrypoint does not error out immediately like it does now.  This also brings a few of the internal modules up to date and adds some initial tests for the agent as a service.