merge plib interface

implement async, sync and out-of-bound communication with processes. support credit based flow controle. implement unit test