Made LocalSocket thread safe
Tagged version 0.6.7