Fixed #299 Improve Retry behavior

1. Retry new replication session if previous session ends with error see ReplicationInternal.java
2. Apply same retry logic in a replication session. see RemoteRequestRetry.java
android.os.Handler.postDelayed isn't an option here, since this need to work portably on all java platforms.  

Can you remove the comments?