title: Use Memcache class with binary protocol
body: <p>Has someone succesfully set up a connection with Memcached by the binary protocol through the Memcache client class? And by connection I mean to connect to the server, to set an arbitrary key and then retrieve this key.</p>
  
  <p>I've found problems trying to get keys from Memcached through the binary protocol with this class. It seems that Memcached is closing the connection unexpectedly, so then PHP throws a notice.</p>
  
  <p>This is some example code that lead me to this issue</p>
  
  <pre class="lang-php prettyprint-override"><code>ini_set('memcache.protocol', 'binary');
  $m = new Memcache();
  $m-&gt;addServer('127.0.0.1', 11211);
  $m-&gt;set('test', 'test');
  echo $m-&gt;get('test');
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Christian</p>