Merge pull request #10 from jitsni/master

interfaces.length is 0 is handled along with the general case.