Closes #1530 - Added an option to verify the ssl certificate