removed definition of SA as stuct sockaddr, it made code unclear