added cookie support to scotty

This adds very basic cookie functionality to scotty