Fixes for networking / socket stuff. Still an error that is related to NodeJS or Firefox.