connection establishment, blocking socket