Updated `RequestEvent` to use parameterized type `T`. In reference to: https://github.com/elastic/elasticsearch-js/pull/819#issuecomment-484594841
Updated `RequestEvent` to use parameterized type `T`. In reference to: https://github.com/elastic/elasticsearch-js/pull/819#issuecomment-484594841