support :public_network and writable issue

writable issue: on MacOSX (mine is 10.6.8), we can assign write permission with ACL extensions, like: sudo chmod +a "$USER allow write,append" /etc/hosts, but File.writable returns false while File.writable_real returns true