Fix WS open vs. send chase issue, small cleanup around Promises