Add necessary components to make twopc work

Add networking interface for synchronous and asynchronous operations.
Add tc and tp class to perform twopc protocol
Add server and serverapp implementations
Add client to transmit transactions
Add demo app