Merge pull request #6 from jianC/master

Fix
Merge pull request #7 from jianC/master

Add server connection status
fixed online/offline checker

also changed the port to the proper default