dpx-c: also copy method string passed in to dpx_peer_open