Squashed 'libs/libhtp/' changes from 4e1f27d..9e5fad1

9e5fad1 Tidy up test.
9140d07 Typo.
524389f Fixed gtest not compiling on OS X 10.9.
4f58e05 Fix HTP_HOST_AMBIGUOUS false positive, by not checking for differences when one of the port values is not available. It's not the real fix, but it will do for now, until we determine if these checks add any value at all.
7bcc0f2 Version 0.5.8.
4095a00 Update for 0.5.8.
c345d70 Update for automake 1.14.
9d2feb9 Tidy up.
b4a6f97 Fix warning with automake 1.14.
8f3bac4 Remove the obsolete Eclipse project file.
b85444a Fix #55: Incorrect ambiguous host warning on some CONNECT requests.
5838948 Add a placeholder for ad-hoc tests.
77aa505 Fix the code that assumed that chars would always be signed, which is not true on PowerPC.
1802a08 Improve documentation.
46f0248 Add tests for #53.
3796322 Fix memory leakage after memory allocation failure.
373209a Fix memory leakage after memory allocation failure.
a039aba Update version to 0.5.7.
83ae860 Update change log for 0.5.7.
a8868a5 Use umask() before mkstemp().
c3c9f84 Tidy up casts.
e4cfb11 Ignore Coverity warning about not checking the return code of htp_hook_run_all().
82fa8a2 Fix memory leak when memory allocation fails.
1543465 Fix copying hook_response_complete instead of hook_transaction_complete.
c9a0886 Docs.

git-subtree-dir: libs/libhtp
git-subtree-split: 9e5fad1d17c63b5a49628fb922f35b43f4d8dde2
libhtp: Sync with upstream 0.5.9.
waggle planner: Loop detecting for follows rules was wrong.
rule_engine: Add more logging and fix logic around rules  actions in response.