adding support for new bridge code

requires https://github.com/Pinoccio/library-pinoccio/pull/147
now works for master version of bridge