core: add z_datetime:timestamp/0. Also use a constant for fixed 1970 base seconds.
mod_base: use window.location.host for websocket stream, unless configured otherwise.
Also add try/catch around websocket connect, to catch potential IE10 security exception.