Catch warning on is_readable() failure (open_basedir restriction)
Fix warning when using IP address as hostname in Net_Socket