Hi Sebastian,
thanks for your bug report and your attempt to track this down by replacing
the sockjs files.  Please note that neither Nilesh nor I are shiny-server
users.  Thus it would help if you could provide a possibly small example that
helps us reproducing the problem.
Kind regards
    Andreas.
-- 
http://fam-tille.de