The conflict in oil-rich Libya has become a proxy war, fueled by rival foreign powers such as Russia and Turkey.