Change connector so that it speaks HTTP/JSON as well