socket testing WIP