convertLongTimeoutToLongWithInfiniteAsZero

fun convertLongTimeoutToLongWithInfiniteAsZero(timeout: Long): Long

Convert long timeout in milliseconds to long value. To do that we need to consider HttpTimeout.INFINITE_TIMEOUT_MS as zero and convert timeout value to Int.