A minimal NIO Socket Handler