Fix _create_identifier failure if request.headers are unicode