Encode the iface message