Jdroid sample server fixes