feature: websocket: print more meaningful error messages
cosmetic: updateOrderBook: refactoring and simplification
feature: added pre-commit script to guarantee hlint conformity