Configure JAVA_HOME and SCALA_HOME from environment
Include URI scheme in Mesos cluster_url