Fixed client socket interceptor. Added member and client socket intercep...

...tor tests.