new http example with makefile (make P=use-select). Fixed some warnings