Update http_upload.js

Add rejectUnauthorized as an option to use "http_upload" in no SSL mode

Fix Error response when "response" is null
Update http_upload.js
Merge pull request #7 from GODDET/patch-1

Add rejectUnauthorized as an option and fix error message when "response" is null