More robust port assignment in the MyriadSocketReader. Prepared interfaces for Stratosphere driver job extension.