Send socket parameters as params.query

This pull request send socket library service call parameters as `params.query` to the actual service. Closes #60 and closes #69.