taking first enclosed messagetype for interface proxy
Added ChannelType attribute to gateway

so a ChannelSender can be registered to handle multiple channel types
Merge pull request #1169 from chrisbednarski/1065

Fixes#1065 - added ChannelType attribute to gateway