Convert HTTPVersion to struct