Wrong sizeof() was returning size of a pointer.

This was declaring wrong buffer size for URIs.
Merge pull request #3 from aghiles/master

Wrong sizeof() was returning size of a pointer.