adding BSD version of sockaddr_in struct/accessors. seems to work nicely.