Bar header secondary and content

providing patch to following issues:
https://github.com/twbs/ratchet/issues/646
https://github.com/twbs/ratchet/issues/586