Use default logging
Move format_response function to router class, add client address to logging