QPID-4905: Tidy up broker::Connection
- Clean up code for accounting for sent frames
- merged Connection and ConnectionState into Connection