Fix SocketHttpAdapter which did not take care of query string

Fixes #175