fixed several warnings, got Header proto sending from android to the server