bugfix: changed request uri retrieval
Merge pull request #11 from wick-ed/master

reviewed diff and tested locally