I'm not sure I understand the purpose of this class. It's name suggests something much more general than its function, which appears to be merely to send the filter configuration on stream open. Does this really need to be here? Or at least, if the purpose is just to wrap SockJS to avoid setting up the transports, can we not pass the filter in?