added tests and refinements for TcpManager. Added native getLong and putLong to AtomicBuffer.