Inline sample code for server.connect() API Reference page. Demonstrates examples of how to connect with each timeout policy in effect.