Bugfix in new changes

Bugfix for cookie argument ind CallMethod and ssl warning in
SendRequest.