Add connect logic to STOMP server