Move PROOF protocol messages in here; fix FindRoot and FindXRootD; fix pq2 compilation