398467 Servlet 3.1 Non Blocking IO

Fixed handling of empty writes
fixed double close sendContent