Add debug function %curl-dump-handle

* src/curl.scm.in: export func
* src/func.c: (cl_dump_handle, print_slist, print_mem, xstrlen, print_httppost): new
* src/func.c: decl for cl_dump_handle
Type conversion errors

* src/func.c
* src/type.c
* src/type.h