Iran's parliament is considering legislation that would formalise restrictions on vessels tied to Israel and the United States.