func New(out io.Writer) train.Interceptor
New returns an interceptor interceptor that logs request as curl shell commands to the given io.Writer.