Fixed servlet/client incompatibility if parentSpanId is not provided

Added it