Switched to using requests library.
Removed unneeded libraries from imports.
Added test.blend file to test locally.
Added the capability to upload to local server.