Made connectServer() more awesome