libev: register and socket_change [WIP]

Signed-off-by: Alejandro Mery <amery@geeks.cl>