Continue fix for #38: add ipc module and use it in wingocmd and ipc