Yahttp config h

Revert to @mind04 original idea. Fixes #1533, fixes #1534