Moved encoding & compression to the client
Client encoder tests