Secure the active collection server websocket