fix block leak
change calling convention to make it easier to unlock original dbuf
fix block leaks in example-http