only count code cells
basic README
rstrip trailing slash of base_url
support older handshake with `--legacy`