update main entrypoint to use new http client

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