https://github.com/spray/spray/pull/825