pub fn new_with_addr(addr: ServerAddr, protocol: ProtocolType) -> Self {
        let mut config = Self::new(protocol);
        config.addr = Some(addr);
        config
    }
Create a new `LocalConfig` with listen address
crates/shadowsocks-service/src/config.rs