Add platform configuration for Emscripten.

Handle as a i386 Linux variant.
Close listening socket before stopping running connections

If sending the serverStopped event to currently active connections
happens before actually closing the server socket, new connections will
be accepted in between, which in turn will stay open and prevent the
HTTP server from stopping completely.
fixed possible memory leaks in the constructor and assignment operator of SharedPtr reported by issue #287
code indentation level
Merge pull request #452 from Kontinuation/develop

Fixed possible memory leak in SharedPtr (issue #287)
minor style fix
fixed GH# 447 NumberParser documentation on the format test used
Merge pull request #437 from kblaschke/develop

Close listening socket before stopping running connections
Merge pull request #343 from abergmeier/develop

Add platform configuration for Emscripten.
Merge remote-tracking branch 'upstream/develop' into develop