Checked wrong socket variable
fsockopen returns false on error, not 0