Non blocking single threaded Selector server