some friendly overloads
+ tracing
Stub socket for testing purposes
started test case for shared q