rewind stream, send content-range header, add upload link