Fix for ESBJAVA-3191
Merge pull request #70 from isudana/master

Fix for ESBJAVA-3191
merge fix {https://wso2.org/jira/browse/ESBJAVA-3188}
Merge pull request #71 from dushansachinda/master

merge fix {https://wso2.org/jira/browse/ESBJAVA-3188}
Merge branch 'master' of https://github.com/wso2-dev/wso2-synapse
adding comments