fixes bug on port selection running on Mesos
updated readme