moving across minor fixes from CT codebase for websphere flushBuffer, contentType and contentLength issues - fixes #224