Refactor External IP reterival method

Removed hacky HTML parsing for cleaner JSON responses. Need to add error checking.
Even more refactoring of Extrnal IP retrevial

Removed redudant uri import, made more compact.
Merge pull request #15 from Proman21/patch-1

Refactor External IP reterival method