Added API to pause and unpause game.
Corrected downcasting logic: in C#, "foo = bar as Duck" will set foo to null if bar cannot downcast to type 'Duck'.

spacing
strip websocket commands of whitespace

websocket space test

replace does not update by reference.
update version number