Added a basic implementation of connections
Test a connection
Make replay/replayLast connect immediately
Merge branch 'connections'