I’m not sure compatibility between Rhino’s IronPython and requests
… They seem not to work together from a quick search, but maybe you can find a workaround.
You’re better off using using a C# component and using the .NET Speckle libraries. They are more up-to-date and feature-complete anyway.
Is there any particular functionality that you are looking to use?