Add HTTP And HTTPS support

Added http and https support for multi-part post (file uploading)