Tiny cross-platform tcp library