Updated Client for new encryption

Fixed some syntax things and may have added a useless function. Feel
free to delete maxSize