connect() tweaks