Iran's parliament passed a resolution that could land Iranians in prison for speaking to foreign media outlets in the Islamic Republic's latest attempt to stifle the flow of information outside its borders.