taking first enclosed messagetype for interface proxy