limited nio buffer usage in proxy handler