Use edge triggered epoll for sockets

Fix #13.