Check incoming msg is not undefined after bencode