Fix a bug in retrieving cookie from Vmware connection by replacing
Kawai's patch by parsing request header ourselves instead of using
BrowserCompatSpec.