Fix #1273
getURI bug fix by @dreamsxin
Merge pull request #1274 from sjinks/issue-1273

Fix memory leaks in Phalcon\Http\Request