removed not neccesary code in Hap.Server