WFLY-3490 Websocket onClosed not called on idle timeout
Improve performance of read/write timeout

Also hook up the IDLE_TIMEOUT option