Description
To make the SPDY classes SpdyClientSession and SpdyRequest conform with the rest of the code base's pattern of alloc()/destroy() we want to clean up that code in the following ways:
- Removed custom dtors from SpdyClientSession and SpdyRequest
- Implemented a uniform interface destroy() to both and refactored calls to clear() followed by ClassAllocator::free() with just destroy() to perform both.
- Implemented a static function alloc() for both classes that will use the designated ClassAllocator to alloc() the object.
This was also discussed in the pull request : https://github.com/apache/trafficserver/pull/323