Read the response headers from the server application.
If (error during read)
Set state to ERROR
Return from this state.
If (BITS-Static-Response-URL header is sent from the server application and is not empty)
Set IsReplyStaticURL to true
Set ReplyURL as the value of BITS-Static-Response-URL header
If (BITS-Copy-File-To-Destination header is sent from the server application)
Set ShouldcopyToDestination to true
If (NotificationType is NOTIFICATION_BY_REFERENCE)
Set state to STATE_COMPLETE
If (NotificationType is NOTIFICATION_BY_VALUE)
Set state to STATE_RECEIVE_DATA