fix build error as nee WriteCloser as dst sock