socket tweaking