Use explicit loopback address for XD_HOST

'localhost' isn't working on the CI server.