HTTPRequest: improved HTTP upload API #2