fix incomplete commit #6a07f01

Raise timeout value for SNMP v1 and v2, as well as for reconnection with
a new community.
make timeout configurable
add timeout command-line option
allow timeout to be set from the server
pass datadir to underlying engine
fix expected result
drop duplicate
rename test case for consistency