Fixed RealmServer start on linux.
Fixed writing length for some strings. Fixes #52
Merge pull request #20 from Arctium/master

Standard pullrequest