fetch inbound data on demand to speedup and fix inbound bisection
add the ability to retry on http error when fetching inbound
Merge pull request #131 from parkouss/improve_inbound

fetch inbound data on demand to speedup and fix inbound bisection