some performance improvements wrt connection accept()'ing.
proper error messages