Cookie is parsed now using uint8_t pointers (iliniac PR comments)
Changed buffer size to a power of 2 (8192) and cookie value extraction function to static (iliniac PR comments)
Added %b for request size (vinfang patch)
Writing "-" if an unknown % directive is used (vinfang patch)
Fixed bug in cookie parser
Fixed format string issue logging literal values
Corrected all issues commented by Inliniac on Owl's pull request. Also
added another custom log parameter %b for request length.
Added a default case for the custom log checking in case a parameter
specified is not supported.
Merge branch 'customhttplog' of https://github.com/vinfang/suricata into customhttplog

Conflicts:
	src/log-httplog.c