simple parse of url and scheme