Fixes for Closure AO: websockets are happy now