Handle cases where JSON.stringify fails
Handle cases where JSON.stringify fails

If JSON.stringify fails, we will first try to see if we are able to call
toString on the object and if so, will do so.  If we are not, we will
instead insert the exception into the log message.

blanu/uproxy-lib,blanu/uproxy-lib,blanu/uproxy-lib,blanu/uproxy-lib,blanu/uproxy-lib