FixBug: copy stream to local then send to server, seems scs do not support chunked-encoding.