replaces requests with builtin urllib