Make it more resilient to local network configuration
Summary:
"localhost" as a string might not work as you expect depending on the
ipv6 settings and /etc/hosts. So let's use QHostAddress which is more
reliable.
Reviewers: franckarrecot, dfaure, bensi
Differential Revision: https://phabricator.kde.org/D1284