Filters out client port; Detects lost websock connection and attempts to reconnect