fix memory leaks in appid due to flow data structs not being freed
fix memory leak due to flow data struct allocated for expected channel not being freed
fixes for some invalid memory access issues:
- init all fields in httpSession struct
- don't scan past end of buffer identifying htpp client
- insure struct fields and auto vars are initialized
fixes for some memory access errors due to unitialized variables