UnknownHost and ConnectionRefused exceptions added to translate_exception