propagate native exceptions to `error` event on the Socket
socket.io test for xhr-polling transport