improve portability of the websocket module

no longer depends on lpack, supports nixio bit library.