make wpad experimental
fix coverity detected defects