Moved url splitting and context generation into server plugin