http model HTTPS port fix