Added modified qhttp class