added a mechanism to set port number of Zabbix API server.