replacing 21 connection.onRequest = (HttpClientRequest request):