Fix controller check when controller id is 0 (#1000)
Fix controller check when controller id is 0 (#1000)

Check for null or undefined in metadata response instead for cases when broker with id "0" is controller.
SOHU-Co/kafka-node,SOHU-Co/kafka-node,SOHU-Co/kafka-node