Added example for httpclient usage.
Fixed bug and added size in object.