The European Parliament has confirmed the new rules on ending roaming charges in June 2017 and the first EU-wide net neutrality rules.