src/flex/examples: optionally use libmn in http_server_test

Implement the necessary machinery to link against libmn and
use it in http_server_test.