How to modify cookies in pluggable protocol handler



I am writing the application that creates several WebBrowser controls
in one process. These controls share HTTP session therefore I decided
to install own http protocol handler and modify session cookies before
request is sent.

1) How to modify session cookies in the protocol handler (for example,
in the Start method)?

2) How to determine that request is completed and get session cookies
from response?

.