[server][ArmZabbixAPI] Move openSession() and the depending methods to ZabbixAPI.