allow to set default host ip / default port by config,
allow port 0 (=random):

fix #4473