Use Content-Type to specify protocol and version.

Closes #prometheus/184.