Add internet permissions to both the modules

Change-Id: Ie52a558985b7a6aa8a19a3e973e8ef37fe750506