Merge pull request #78 from isudana/master

fix for ESBJAVA-3218
ESBJAVA-3227
Merge pull request #79 from miyuru/master

ESBJAVA-3227
adding options method support for http endpoint. Some refactoring to http endpoint logic also made here. ESBJAVA-3081