upload: fix not sending response.end()

moves #45 out of milestone 1.0.0