src/connection.c: Don't allocate in lua (cause we need to keep a reference to the userdata), use calloc