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.