Add closing of WebSockets connections and handlers, add REST-interface for data source finding