Fix error emitter for search

cc/ @bencevans 

Believe this is a typo.. meant to emit `error` on the Search object when the socket comes up with an error?