made the server accept websocket connections. kinda hacky but works great.