New connection parameter for DB Connector: KPIW_DB_PORT

+ fix for missing constant KPIW_IP in API Connector