This adopts the solution used in dask/dask-xgboost#40 which employs the get_host_ip from dmlc-core tracker.