Fixed major socket performance issue
Made some major additions