Fixed servlet/client incompatibility if parentSpanId is not provided

I might call this `addHeaders` since it's adding new headers to the request.  This is a minor personal preference, so either is fine.