Use HTTPSConnection when url is https in post_multipart.