Added HTTP based connector and some tests of dubious quality (too much mock). Next stage is to write integration tests over HTTP.