Added socket and address options in Listener section

Added socket and address options in Listener section
develop updated, release 0.5
Merge branch 'release-0.5' into develop
build_gateway.inc didn't point to all header directories. Added one base directory for pre-processor.