Timo, unfortunately the patch doesn't compile; I've moved the declaration of "conn" one line up to make it work.