Implement SetOption and GetOption methods defined in talk_base::AsyncPacketSocket.

These two methods allow client to set socket options like DSCP, Send and Receive socket
buffer sizes.

R=sergeyu@chromium.org
TBR=kenrb@chromium.org,joi@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246612

Review URL: https://codereview.chromium.org/127413002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246735 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246735
Use RtlGenRandom() directly instead of going through rand_s().

Results in a massive 44x improvement to RandBytes() for larger
buffer sizes.  Using the RandBytesPerf test, the results are:

Original: 2961196.6us
Modified: 63656.8us
Improvement: 44x

BUG=none
TEST=randbytes unittests.
NOTRY=true

Review URL: https://codereview.chromium.org/141753009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246736 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246736