Fixing defect 318, 319 - added null check for content, and wrapped HTTP
Client with SSL.
Merge pull request #320 from VimalDhupar/Defects318_319

Fixing defect 318, 319 - added null check for content, and wrapped HTTP