Moved endpoints to transports.
Rewrote some plugins.
Moved reconnect logic from connection watcher to agent index.
Some whitespace fixes.
Removed file.