Added support for opening com ports