immigrant from my original project http://code.google.com/p/ikcp