#386 Janus ip type now checks if database value was a real ip and returns null otherwise, added tests