Missing deregister procedure

Hi, thanks for this work.
I complete deregister_procedure and encapsulate en_loop into into jsonrpc-c.
On next branch, i will add option to use select or ev.