Use url module to parse requests