Update README.md

Added API documentation of socket state property