Introduce HttpResponse callback selector type. to resolve #2365

Hello, I made a cheap patch for http reponse callback as discussed in #2365.

Review please ;-)