Adding URI buffer on setURI method to reduce external fragmentation on NON-MMU plataforms

First i have created a local buffer, but simple microcontrollers have a very small stack, then i decided to use the realloc behavior for handle the different sizes of the buffer.