fix invalid call of db.save(...) if the default (local) proxy is set

I have left a detailed comment at jira https://issues.apache.org/jira/browse/RIPPLE-63.

Kind Regards,
Andreas