Better support for curl, and implied support for port 443 when using https