b43ce7ae1d
only Motivation: 4b7dba1 introduced a change which was not 100 % complete and so introduce a regression when a user specified to use InetProtocolFamily.IPv4 and trying to bind to a port (without specify the ip). Modifications: - Fix regression by respect the InetProtocolFamily - Add unit test Result: Fix regression when binding to port explicit