Adding SSL support at descriptor level
Refactoring code for SSL support
Updating the condition for checking useSSL
Merge pull request #154 from payshah/master

Adding SSL support at descriptor level