[WIP] Add support for text format

Missing:

* Use text format in metric exposition if server supports it
* Implement right behavior for summaries as soon as specified