Merge pull request #102 from unihorn/9

refactor: Expose generating RawRequest objects as an API
fix(requests): fix possible race and appease race detector