wrap sockets pointers into ocaml block with tag Abstract_tag.