Simple Java NIO wrapper for client applications