specify the path prefix in args

Support specifying a path prefix and a port other than 443 for https in the constructor