A simple URL type and parser backed smart constructor.