migrated serial2ws app to WAMP v2