[SJS-76]: _log function takes in message as an JSON object or a string
[SJS-77]: Added stack trace in setDebugMode for tracing
[SJS-71]: Fix for higher weight message not proceeding to createOffer