Build non-blocking TCP Server based on OTP