Limit recursion to 2 levels because of performance impact.

Remove check of remote address.
Remove backtrace as it doesn't add extra infomation