fixing bug where connecting a non-dev device throws exception rather than returning false.
allowing user to query non existing keys ( returning null )