Bugfix/400 on retries

Fix for #58, ensure request body is always maintained across retries.