keep track of connected sessions

Log the IP address of session connects and disconnects in a global counter. Expose a route called /sessions to return the current session count in json. This can be used to show the amount of active sessions on the front-end in real-time.
If we store a hash of ipaddresses, we could also dump the list in the response.