Update status.class.php for fix bug

It's necessary to conduct a check to the socket connection to return false if the IP is invalid otherwise it will return an error. I should check about 600 servers and It's better like this !
Merge pull request #16 from Metrakit/master

Update status.class.php for fix bug