Create a encoder handler that is capable of serializing a MemcachedRequest.
This will also include writing unit test to ensure that different types of MemcachedRequest are correctly serialized. Additionally we will be writing an integration test where we open a connection with a Memcached server.