The data transaction code to be backported from bitcoin v0.9 I'm working on this (issue assigned to me).