Mostly gateway work.

- We now shutdown connections if we fail to detect their protocol within a timeout.
- A list of connected and connecting clients can be accessed via JMX.