Handle URIs
Allocate enough bytes to store URIs (see #24)
Appropriate NULL check