Spoofing support and socket leak fix

Daniel,

 redone for the new package name. Compiles. Please have a look and - if acceptable - pull timely

Thanks
Martin