Added flag to set http/https port