added warning lable if server doesn't support pubsub. refactored feature identification into seperate class