Abstract Url Parser implementation and tests.