Update Server.hx

Fix compilation errors.