more evolved version of the sample. can send Texture2D to the HTTP client.