= client: cleanup and fix license header