improvements for kd server, also proxy root fixed to newkoding