Creating the connect method. Now it is possible to connect to a message broker with a STOMPClient specifying the server host and the server port