[Echo.StreamServer.API] remove legacy code