fixed when get 401 , fclose  Socket will fail and $matches may get null
Merge pull request #8 from colin1124x/master

fixed when get 401 , fclose  Socket will fail and $matches may get null