only use persistent pfsockopen for HHVM, since PHP still has issues with it for some reason
fix hhvm array access error