fix build error as need WriteCloser as dst sock