implement inbound SMS parsing