src/vs/base/parts/ipc/node/ipc.net.ts/WebSocketFlowManager/_deflateMessage
class WebSocketFlowManager:	private _deflateMessage(zlibDeflateStream: ZlibDeflateStream, buffer: VSBuffer): Promise<VSBuffer> {
		return new Promise<VSBuffer>((resolve, reject) => {
			zlibDeflateStream.write(buffer);
			zlibDeflateStream.flush(data => resolve(data));
		});
	}