sockets.tcpServer API implementation.

Implement a new API for TCP *server* sockets. This CL is similar to
sockets.tcp (see https://codereview.chromium.org/24684002) and follows
the same design pattern.


BUG=165273
BUG=173241

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229304 0039d316-1c4b-4281-b951-d872f2087c98
Implement x509_util::CreateSelfSignedCert() for OpenSSL.

This requires a parser for RFC 2253 strings, so add one in
"net/cert/x509_util_openssl.h", and an appropriate unit test.

BUG=306176
R=rsleevi@chromium.org,phajdan.jr@chromium.org
TESTING
  build/android/test_runner.py gtest -s net_unittests
  build/android/test_runner.py gtest -s content_unittests

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

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