defaults to http - fixes #9