Application-Layer Connector Synthesis