Use streaming decoder and encoder.
Use github.com/gorilla/mux in examples and tests.