AsyncSocketMiddleware: limit concurrent http connections.

Change-Id: If85d9ab4fa285d5a52f118dfcf50f83e28d3b671
Add support for multicast dns