open fun onHeadersReceived(filter: OnHeadersReceivedFilter, listener: Function<*>): Unit
open fun onHeadersReceived(listener: Function<*>): Unit