LDEV-4802 Ignore invalid websocket close codes
For unknown reason browsers sometimes close websockets with an invalid
close code, for example 15393. It prevents from running @OnClose methods
in LAMS websocket servers. Since we do not have control over this
situation, it is better to skip CloseReason parameter all together.