android: Added NetworkManager class which allows to retrieve a local IP address