various bugfixes (field types, ssl only connection, active options)