Pushed encoding/decoding into Connection layer. Added Actor primitive to address potential concurrency issues