super lightweight bsd socket bind for lua 5.2