Elixir TCP Server based on OTP principles