HTTPErrors have codes, URLErrors do not necessarily have them.  Also re-raise exception so we don't swallow it on anything other than badrequest and 403
HTTPErrors have codes, URLErrors do not necessarily have them.  Also re-raise exception so we don't swallow it on anything other than badrequest and 403

gcrahay/otx_misp,AlienVault-Labs/OTX-Python-SDK