let OS auto-pick binding port if configured as zero

PR addressing #2506 in master