Some fixes for the pdnet.unisi server