Switch to new API
Remove hard-coded IP, instead use socket to determine IP of cmsweb host