Backporting of new features in stable branches is not allowed, unless it is actually a fix or solving major security needs. Others can comment their opinion.
One more or less cosmetic opinion, I would make a class of variables, $ws(name), so if the future new fields can be added to it (like the implementation of $time(...) from pv modue). Also, for a short name of the attribute, maybe it can be used just 'orig_ip' instead of 'real_src_ip'.