Removed curl, improved sessions

Removed dependency on Dotty.