protocol/stream: Declare interface for encoding envelopes (#513)
protocol/stream: Declare interface for encoding envelopes (#513)

The Enveloper interface is implemented by a thrift type that can be
written with an envelope via a stream.Writer.
thriftrw/thriftrw-go,thriftrw/thriftrw-go,thriftrw/thriftrw-go