Discard old git logs by git fetch --depth n

* also make the depth configurable
Added a config to prefer WebSocket over Content-Encoding: chunked
Bump version to 0.5.0