?onclose:(unit -> unit) -> Stdlib.Buffer.t -> Netchannels.out_obj_channel