Define libwebsocket_write_http as a macro instead of inline

This solves two problems:
a) We do not need to use the keyword inline in the public header.
b) We avoid a possible warning about an unused static function.