bindings/pyduplex: more fixes, but segfaults

Needs investigating into how ctypes returns a pointer that we
can use later (from dpx_peer_new(), because bind fails).