Implemented to detect transport name of socket.io communication.