Federation.disconnect support

Adds support for transport disconnection