fix complie warning
conversion to int from long unsigned int may alter its value
std::unique_ptr requires gcc 4.4
check if accept4 exists
Merge pull request #85 from trymuduo/master

Fix some compile issues in gcc 4.3.3