added stream timeout and buffer size specification. for use especially with multipart upload handling