Updates socket examples to match phoenix.js

Phoenix.socket returns a JS error and needs to be updated to Phoenix.Socket to match the object created in phoenix.js.
Merge pull request #186 from davidstump/patch-2

Updates socket examples to match phoenix.js