Expose timeout for nodes_info requests in the REST interface

Closes #3191