package: update "ws" to v0.4.31
Merge pull request #204 from LearnBoost/update/ws-0.4.31

package: update "ws" to v0.4.31