Determines legal URLs. Next step is formatting nmap.