Core: remove deprecated calls based on old epoll_ API

Signed-off-by: Eduardo Silva <eduardo@monkey.io>