[openssl] Support wildcard hostname verification

Most of this code comes from version Curl 7.35.
Add coverity_scan coverage to travis config
Fixes for travis-ci configuration.
MinGW : missing ssize_t typedef
Mingw: specify WINVER 0x0502 when unspecified.

WINVER 0x0502 is WinXP SP2
CMake: Add -DHAVE_CONFIG_H to tests/*.c

test_hostcheck includes a file which includes amqp_private.h which needs
config.h.
Use poll(2) for timeouts on socket

Use poll(2) instead of select(2) to do timeout operations on sockets. This helps
with the situation where the fd is larger than FD_MAXSIZE.

Fixes #168
Fixed timeval to milliseconds calculation error

milliseconds = seconds * 1000 + microseconds / 1000
Use gethrtime() on HP-UX for timers.

HP-UX does not have clock_gettime(CLOCK_MONOTONIC), instead use
platform-specific gethrtime() function.

Thanks to zhongk for this fix.
Correct #include <sys/uio.h> location.

sys/uio.h should be included in amqp_private.h and not amqp.h, it also should
not be protected by a test for the GCC compiler.

This should fix the issue with compiling rabbitmq-c on HP-UX using aCC.

This fixes #183.
Debian files
Merge branch 'feature-debian' into local-develop