make api url part of the connection, so can be changed by the caller
Merge branch 'master' of github.com:scrapinghub/shubc