Finally @p.virta made a port, look here:
Please someone who have the rights mark this post as solution.