Rewrite network stack (ha) to use asyncore, hopefully debreaked it.