Setting up a NIO test client/server