Fix panic with HTTP serve initialization problems.

Hi,

I just made a little patch to try handling errors when HTTP serve starts. It prevents panic when address and port are already use by example.

Let me know if it suits to you.

Regards,

Vincent