Replace proxy initialization with existing method

Since we have setProxy() method, we can replace the existing code
block in Phantom::init() with simple method call getting rid of
duplicated code.
Merge pull request #12300 from artkoshelev/proxysetuprefactoring

Replace proxy initialization with existing method