fixed bug where client was sending server packets