Fix slowness due to Nagle's algorithm.

Thanks to Alex Chernyakhovsky for suggesting this.
Implement adding transactions.
Add README and LICENSE.