Added memory garbage collector,
Optimized MQTTS Publish, Subscribe, Register subroutines