assigning omero.constant.IP in client.py
adding IP support in the gateway