Add warning about JAVA_HOME
Rename HttpProtocol.baseHeaders into headers + add header, close #2237