Replaces deprecated request object by leviathan request.
Adds basic statistics.
Merge remote-tracking branch 'upstream/master'