Issue #1155740 by tacituseu: Make remote file fetch HTTP version independent