add writestotcpdirectly field to HttpHandler