Switch to libev

This PR close #54.

Enchantments:

1. Simpler
2. One thread for all IO
3. Less memory copying (one or two in worst case)