Added import tolerance for negative values; port numbers extracted to the gradle.properties file; download step fails fast checking contents of the downloaded file