+ socket tuning and some fixes