convertLongTimeoutToLongWithInfiniteAsZero

fun convertLongTimeoutToLongWithInfiniteAsZero(timeout: Long): Long

Converts 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.