Add fsockopen_support_bypass & faster index check