char-socket: update local address after listen