rust-chg: port basic socket path handling from cHg of C
This is basically modeled after setcmdserveropts() of chg.c.
// Copyright 2018 Yuya Nishihara <yuya@tcha.org>//// This software may be used and distributed according to the terms of the// GNU General Public License version 2 or any later version.fn main() {}