more web socket fine-tuning