Parse empty headers correctly. Fixes #56