WIP: Refactor certificate agent and queue

Details to follow...
Is it worth wrapping the _request() call in a try/except block so you can return False if there are connection errors? Or are you just relying on exceptions to bubble up?