Move uploader and multipart helpers into their own non-handler package [#82415708]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>
Share uploader between handlers and make duration parameters configurable [#82415708]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>
Do not rename packages in import unnecessarily [#82415708]

Signed-off-by: Amit Gupta <agupta@pivotal.io>
wip

Signed-off-by: Amit Gupta <agupta@pivotal.io>
Make network timeouts constants in main instead of flags [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Forward md5 header in slow path upload as well [#82415708]

Also, simplify code for forwarding headers (not looping over hard-coded 1-element slice)

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Add unit tests for Uploader [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Add tests for Poll action of Uploader [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Do not use magic string upload[droplet] [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Rename target to fallbackURL in Poll [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Move uploader into ccclient and split into uploader and poller [#82415708]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>