Partially Addresses Issue #1572

Changed ConnectionError to InvalidURL error.