Proper AsyncHttpClient runtime handling in SerializedSocket.