Updated httpc code and added an example.