switch from tornadio2 and socketio to sockjs-tornado which is better supported
remove vestigial option
transmit total samples and fix skipping seconds problem
cleanup prior to metadata set