Asynchronous network framework inspired by NodeJs