Introduce a config parameter for websocket max frame size, close #675