added connRetry flag
added flags maxblocks, maxaddresses