Removed obsolete code since we refactored sessions. These requires
session already, so they will always have g.ksession set and never create
their own connection.
Pylyskom changed the API for connect to remove httpkom specific stuff from
pylyskom.