sd notify

Fixes #2322
For issue 2322. This allows systemd (or another init system) to know when docker is ready to receive requests.

Tested with the following systemd service file.

[Unit]
Description=Docker Linux Container Manager

[Service]
Type=notify
ExecStart=/usr/local/bin/docker -d

[Install]
WantedBy=multi-user.target