Added optional mysql ssl support.