Simplified the bindings by replacing usages of _iobuf with pointers.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>