Fix PHP fsockopen status