bugfix in hSocket
added/changed logger output and implemented/changed commands