Added socket send and recv timeout options with implementation for posix platform.
This is part of a extending support for sockets in WASI. #1336.
Also add sample that sets and reads back the send and receive timeouts using
the native function binding.