398467 Servlet 3.1 Non Blocking IO

Added ByteBuffer write and improved test harnesses