some fixes merged from coturn



git-svn-id: http://rfc5766-turn-server.googlecode.com/svn/branches/v3.2@1902 d3c6d0af-6456-5cbd-3218-6188ca4e956b