ATS: Refactored outgoing requests to use AtsConnection

Refactor outgoing requests to run through AtsConnection. Now using the command pattern.
Adds some logging and a more testable design.