socketstream app - various tweaks