update parentproxy(), when uri is None, return a proxyserver
simplfy presets.ini
better process for HEAD and 304
add cli function 'restart'
304 bug fix