packer/rpc: MuxConn.NextId properly increments
packer/rpc: MuxConn writes don't block the whole loop
packer/rpc: better close states