Add a sample code to use httpclient post.

A samp for using httpclient post. Tested with the http server and got
post of three times.