tunnel support. fixes #3