Documented SockJS interface, deprecated /api/state