Queue WS messages until socket opens, fixes #11