added support for SSE routes with query params