Update to Scala 2.11
Ignore malformed date headers
Use type-safe method
Add JSON parsing tests