few buf fixes. composed examples/http-get.c