Correct encoder for memcached-cmd

Properly implement 3rd argument of header.