config-loader.js: added function getBackendByIp / corrected type in getBackendPort func