Added missing Welcome message handling
Updated test cases
API change
Refactoring, added connection overload