feature(socket) add pwd, homepath