simple socket library for apple swift lang.