fix parameter handling in sms2ws

- extract query string from custom url
- extract request url from custom url