Implemented transport client example using the C API