SSL and add handlers in EmbeddedTestServer

(This is a re-landing of CL 1376593007)

As part of the migration of tests to EmbeddedTestServer, this CL modifies
EmbeddedTestServer to support SSLServerSocket and to add shared default handlers
that can be used by tests to mirror the SpawnedTestServer handlers. The major
changes are:

- SSL support through SSLServerSocket
- Adding SSLServerConfig to configure SSLServerSockets.
- Setting up default handlers for BrowserTestBase tests.
- Asynchronous HttpResponse.
- Moving EmbeddedTestServer to the net:: namespace.

BUG=496825, 548358, 548492
NOPRESUBMIT=TRUE
[email protected],[email protected],[email protected],[email protected]

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

Cr-Commit-Position: refs/heads/master@{#356616}
diff --git a/net/net.gypi b/net/net.gypi
index 91fb19b..569555b 100644
--- a/net/net.gypi
+++ b/net/net.gypi
@@ -191,6 +191,8 @@
       'ssl/ssl_info.cc',
       'ssl/ssl_info.h',
       'ssl/ssl_private_key.h',
+      'ssl/ssl_server_config.cc',
+      'ssl/ssl_server_config.h',
 
       # Most files in net/quic are in net_nacl_common_sources, except for the
       # files that have dependency on SPDY (net/spdy) or NSS.