Add initial connection timeout

I added an optional parameter to the "connectTo..."-method. This ways it's possible to use a longer timeout interval on the initial socket.io request. This is especially handy when the client is connecting with a slow mobile internet connection