Merge pull request #1142 from akbargumbira/develop

[Realtime] Port needs to be int.
Sofcode sqlite path for realtime
Merge pull request #1144 from timlinux/develop

Sofcode sqlite path for realtime
[Realtime] Fix failing tests.