[tor-commits] [flashproxy/master] Handle the case where userAgent is null or undefined.