migration from QTcpServer to libev based server

main reason: correct reply to  <policy-file-request/>