Bring back connection.sync mode for BOSH connections

Safari still won't do async disconnect on window beforeunload