Refactor External IP reterival method

Removed hacky HTML parsing for cleaner JSON responses. Need to add error checking.