start dpx-c port
catch leaks, increase def stack size, add dpx_duplex_conn
more mem cleanup catching, duplex_connection work
add duplex peer'ing, fix more memory leaks.

[going from golang to C is not fun]
fix compilation errors, disable static linking
fix static library generation
cleanup Makefile
first round of fixes as found by coverity
-> bsd-2 license
make sure that we don't block on fd
begin work on threadsafe api and prep for testing
convert dpx_peer_open
this never happened
initial tests
Add tests for thread socket communication.
threadsafe peer functions
Fixes, tests, threadsafe'ing, & more.

tests segfault, though. needs looking into
still debugging
First working version.

Some issues with the free methods; need to look into those.
add rpc_call test