Piwik is not respecting DnT settings, any help?

I notice that the Do Not Track settings of my visitors are not being respected in the latest versions, how can I best update to get the security updates while respecting the privacy settings of my visitors?

DNT should work fine in Piwik, and when enabled it should not track the data. Do you see any problem ?

IE 10 with DnT enabled is still being fully tracked.

IE10 is indeed always tracked, because DNT is always enabled on this browser… so we decided to ignore the setting for IE10 users.

Would you accept a patch to fix that?

(edit: I found the offending code snippet)