rename MSG_host_is_avail() to MSG_host_is_on()

(and same in Java)