use same socket for upload and download