reimplement _request method to wrap urlparse