v.10 Proxy Pass

Hi all,

due to new class features in iRules, I found out that Proxy Pass iRule wasn’t working on v10, I made some changes (attached file). Can any expert review my modified iRule?

Thank you very much