Bug 917667 - Add the check of receving unknown connection type. r=gene