Fix a Clang warning on OSX

In file included from unix_semaphore.cc:24:
./utility.hh:53:10: warning: private field 'm_pSemaphore' is not used
[-Wunused-private-field]
  sem_t *m_pSemaphore;
           ^
OSX 10.9 now has IP_PKTINFO
improve logging of remotes sending corrupt packets
Fix deprecated syntax

coprocess.cc:143:24: warning: use of GNU old-style field designator extension [-Wgnu-designator]
        struct timeval tv={tv_sec: d_timeout/1000, tv_usec: (d_timeout % 1000) * 1000,};
                           ^~~~~~~
                           .tv_sec =
coprocess.cc:143:48: warning: use of GNU old-style field designator extension [-Wgnu-designator]
        struct timeval tv={tv_sec: d_timeout/1000, tv_usec: (d_timeout % 1000) * 1000,};
                                                   ^~~~~~~~
                                                   .tv_usec =
2 warnings generated.
Remove a few unused variables
Handle --disable-foo properly

Fixes #1253
Merge pull request #1553 from mind04/remotes

improve logging of remotes sending corrupt packets
Merge pull request #1540 from rubenk/#1253

Handle --disable-foo properly
Merge pull request #1509 from rubenk/osx-fix-warning

Fix a Clang warning on OSX
Merge pull request #1510 from rubenk/osx-pktinfo

OSX 10.9 now has IP_PKTINFO
Merge pull request #1511 from rubenk/clang-warnings

Clang warnings
YaHTTP upgrade from upstream. Fixes f.ex. build on Solaris
Test for localtime_r
Merge pull request #1556 from cmouse/yahttp-upgrade-20140717

YaHTTP upgrade from upstream. Fixes f.ex. build on Solaris