fixes for SSL mode
treat now in primary keys for add only
Updated docs, minor bugfixes