elasticsearch output now depends on socket; require it