Added a parseURL method to the ElementalServer type that handles unreliable user input.