This function should also be moved into `Msf::Payload::Dalvik`, since any payload dealing with android meterpreter will need it.