Fixes issue #115

Content callbacks for client response and server request were not getting released.
Fixed failing tests
Merge pull request #170 from NiteshKant/master

Fixes issue #115