Add timed metrics and properly URL encode requests