[Bugfix] Hide warnings

If the host does not locally resolve we don't want a lot of php warnings before I get the error message.
Merge pull request #29 from Nyholm/master

hide warnings from file_get_contents()