Merge pull request #8 from remicollet/issue-compat

Add Full APC compatibility mode
bring config.w32 inline with bc mode
rest of APC compatibility mode
change server port for test