[SPARK-4449][Core] Specify port range in spark

In some case, we need specify port range used in spark, such as firewall.
I think both ok.  If we pass into HttpServer a sparkConf, actually it is same with  ```securityManager.sparkConf```