Async network I/O framework for writing simple servers