remote: added --timeout option
remote: increased debugging info
remote: updated self tests for new remote functionality