Optimized check in LocalSocket if socket is readable
Tagged version 0.5.10