QFCgiStream: Some improvements and bug fixes