YaHTTP upgrade from upstream
Merge pull request #1569 from cmouse/yahttp-upgrade-20140718

YaHTTP upgrade from upstream