jni: add MulticastLock class and hook it up to wifi manager