In case address is not provided, set its own address for each socket.