Petty DRY extraction of basic session data task creation in request methods

I'm just gonna leave this here for someone to take a look at. I've often wondered late at night when working in this file why this same block of code kept reappearing and why someone didn't make a method to only do it once.

_I_ couldn't see a reason why it wasn't done, so I did it.

With a fresh checkout, I couldn't get 4 tests to pass related to SSL pinning. I didn't cause any _more_ test fail, so that's good.