updated the fetch URL function

Replaced file_get_contents with wp_http . file_get_contents doesn't work
if the destination URL is https and the server doesn't have an SSL
wrapper