Fixed remove prepared
Handle socket error: invoke all pending callbacks
All socket errors set the connection to "unhealthy"
Changed behavior of util.extend: override from left to right always
Merge from upstream