|Short answer: Using batch, not a chance.|
You'd be better off with a different language (like a C language or Java), what you're asking here is pretty much undoable with batch and even if someone were to pull it off it would be too slow and cumbersome to use. Batch files on mobile is out of the question, as you'd need a Windows emulator to make it work, and those are not supporting all batch features.
I've been experimenting with online communication through batch files using both BITS and FTP, they work great for downloading (and uploading, if you have the privileges) things from/to the web, but active communication is more difficult (as connecting and staying connected. Also, you'd need an online location to store communication files as batch does not offer direct communication as far as I know.
Enter ftp /? or bitsadmin /? in CMD to read more about the commands.
Marking answers that solve, or help helps you solve a problem as "Best Answer" also helps other people solve similiar ones in the future.
message edited by RainBawZ