Added a sock-debug flag to output the number of active websockets

This is usefull to make sure we're not "leaking" websockets