-Separated connection primitives out from the actors themselves
-Renamed a few things
-Refactored define-actor to simplify away explicit next
-Moved curry out into a util file