Used AcceptTCP() instead of Accept()
Added basic logging feature
Merge pull request #1 from pradeepchhetri/master

merging logging features.