My UPS is not directly network connected, it connects to my Windows pc via an USB cable. Then apcupsd opens a local port for the applications that wants to talk with the UPS (it's like sharing an USB printer in Windows).
I thought that this method was also valid with RPi but it looks like you're talking to the UPS directly? If not possible, do you think that you can merge the two communication modes in one APP? Or it isn't worth the hassle?