Updated ember-socket.js with error function.

With a function for error, this allows  you to define your own callback by overriding the error function when extending this class. That way, you can handle the exceptions yourself.