Make sure reset_sockets_on_error works for ZeroMQ 4.x

The option added in the last commit was only added for ZeroMQ < 4.x.