support https in argument parsing