Revert "Revert "Fix ESBJAVA-3211""
ESBJAVA-3289, Adding the default Content-Type when there is no body in the response is violating the Http Spec. This fix will correc that bug.
Merge pull request #117 from wso2-dev/revert-116-revert-99-master

"Fix ESBJAVA-3211"
removing 2 times stream serilization
Merge pull request #120 from isururanawaka/FD65

content length calculation in disable chunking
fix for ESBJAVA-3295
Merge pull request #121 from shafreenAnfar/master

fix for ESBJAVA-3295
ESBJAVA-3156 fix test case fail. function statck is not added.
Merge pull request #122 from malakasilva/master

ESBJAVA-3156 fix test case fail. Synapse function stack is not added.
fixing ESBJAVA-3303
Merge pull request #123 from miyuru/master

fixing ESBJAVA-3303