Addition of ssl true/false

Allows for true/false to be specified for mongodb connection