Streaming api

You could protect `WriteHeader` with a panic if `sw.closed` is true.