allow setMaxBuffer from WebSocket