Fixed Socket::HasData() issue, increased performance by 199%.