Change connection to only be made from representative end

Seems to work in chrome. Firefox is buggy
resolve conflict
Merge pull request #16 from elihart/master

Chat now works