begin implemeation of compress/send to server