open websocket with space guid and optional app guid

[#51987873]

Signed-off-by: Alex Jackson <ajackson@pivotallabs.com>