make sure the connection counter propagates the event properly

set receivebuffersize on server socket, too
remove ununsed parameter