Issue refs #1656: move all url-related configurable stuff to apinetService