[feature] fix some code
Merge pull request #25 from proxyio/dev

[feature] fix some ubuf_xx API