implemented gateway characteristics
Merge pull request #26 from ilyutov/master

implemented gateway characteristics