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