rpcc: Limit writes to work around issues in Chrome
rpcc: Limit writes to work around issues in Chrome

This commit prevents writes of fragmented websocket messages or messages
larger than 1 MB in size to work around the limited websocket
implementation in Chrome.

The purpose is to provide users with a helpful error message and prevent
Chrome from terminating the websocket connection silently.

See https://github.com/mafredri/cdp/issues/4.

mafredri/cdp,mafredri/cdp