Extend lhttpc API to avoid list of options

* Faster implementation, avoids lists search.
* TODO: clean API
Faster compare strings

* Ad-hoc per case
More efficient way to handle cookies