Renamed registerHandler to subscribe according to MQTT specification

Change-Id: If990888447e46129f37f5bc733d4a0756d41d541