/**
  * Create a new compression-enabled message writer.
  * 
  * @param SocketStream $socket
  * @param bool $client
  * @param PerMessageDeflate $deflate
  */
 public function __construct(SocketStream $socket, bool $client, PerMessageDeflate $deflate)
 {
     parent::__construct($socket, $client);
     $this->deflate = $deflate;
 }