moved readwrite properties inside an NSStream extension