Do not crash the server in case of unknown protocol command.
Merge pull request #1505 from jimis/3.5.x

Do not crash the server in case of unknown protocol command.