Fix urlunsplit import
Fix bad header, int instead of str
Use curlasynchttpclient