Fix #254
Add try-catch to urlRetrieve to prevent uncaught HTTPS exceptions