Improve error handling when making remote connections.
Add post-browse to the security test.  See #1.