Changed registration event to be based off the connection event so that we may disconnect and reconnect gracefully.

Updated socket.io angular library to version 2.0

Added error messages for when server is not available.