Fix wrong casting of htp pointer.  Fixed it back to (HTPState *) inside

htp utility functions.

The only reason it worked so far is because connp is the first member in both structures.