Mainly what I have to accomplish is a gateway between 2 applications, one of them 3rd party/built-in application.
For example user selects my virtual AP in his Browser, connects and then my application is providing the data - no outward connections, no additional costs.
(This is just an example - real need is something else.)

Any pointers to existing source code or documentation?