Added a try catch around the core transport start logic to fallback on errors

#1744
Added tests to verify catching of Security Error in IE10 with web sockets.

- Also expanded network mock library to allow disabling and enabling of the library.  Needed to be done in order to test security errors within the main JS library.

#1744