test code for downloading bitmaps from server using TCPClient