Added a complete Dispatcher with java.nio