Clean up valid Network Web Socket URL checking