President Donald Trump says the US may meet Iranian officials and is in contact with the opposition, as he weighs a range of strong responses, including military options, to escalating unrest.