"localhost" not resolving, which apparently seems to happen on some OpenELEC installations. Fixes #6 (thanks fab33)