Fix issue 334, adding urlquote functionality

I've added test for issue reproducing and simple solution for this issue. Please review.
You don't need to make all of these methods available. You only need to make the POST method available.