[Bug Fix] stuck almost two days with this bug!

Sec-Webs [S] ocket-Accept

some client like ``libwebsockets`` can't finish handshake with this bug...
Merge pull request #41 from DavidFeng/master

[Bug Fix] I was stuck almost two days by this bug!