locks and spacing
adds tcp pre and post init setting functionality to endpoint