socket: move libev specifics into a sub-struct

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