remove ocamlnet, cryptokit and optcomp depends

uses the base64 encode taken from cohttp.