Add status events for spawn and sock connect.

Mainly for testing but doesn't hurt to expose this stuff.
Close browser if sock connection drops.