Cleanup request class and fixed is_crawler and is_mobile methods