Fix for HTTP version hardcoding