add support to SUBSCRIBE/SUBACK/UNSUBSCRIBE/UNSUBACK